package dreamtwodancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesDrawPrizeConditionsItem 抽奖活动条件
type DanceActivitiesDrawPrizeConditionsItem struct {
	Id                    int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesConditionId int64          `json:"activitiesConditionId" gorm:"column:activities_condition_id;type:bigint;default:0;not null;comment:活动条件id"` // 开始时间
	Weight                int64          `json:"weight" gorm:"column:weight;type:bigint;default:0;not null;comment:权重"`                                     // 权重
	ElementPackageId      int64          `json:"elementPackageId" gorm:"column:element_package_id;type:bigint;default:0;not null;comment:散件包id"`            // 散件包id
	CreatedId             int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`                          // 创建人id
	CreatedAt             time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt             time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt             gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
